package com.ruoyi.ftrl.domain;

import lombok.Data;  

import java.util.HashMap;  
import java.util.Map;  

@Data  
public class CommunityMeasurement {  
    private String communityName; // 小区名称  
    private Map<String, String> measurements; // 测量点位及其值

    public CommunityMeasurement(String communityName) {  
        this.communityName = communityName;  
        this.measurements = new HashMap<>();  
    }  

    public void addMeasurement(String measurementPoint, String  value) {
        this.measurements.put(measurementPoint, value);  
    }  
}